package com.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

// 订单实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order  implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String userId;
    private BigDecimal amount;
    private LocalDateTime createTime;
}